﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GameProtocol
{
    /// <summary>
    /// 登录模块协议
    /// </summary>
    public sealed class LoginProtocol
    {
        /// <summary>
        /// 登录请求
        /// </summary>
        public const int Login_CREQ = 0;

        /// <summary>
        /// 登录响应
        /// </summary>
        public const int Login_SRES = 1;

        /// <summary>
        /// 注册请求
        /// </summary>
        public const int Res_CREQ = 2;

        /// <summary>
        /// 注册响应
        /// </summary>
        public const int Res_SRES = 3;

        /// <summary>
        /// 客户端成功登录
        /// </summary>
        public const int Logined_CREQ = 4;

        /// <summary>
        /// 成功登录响应
        /// </summary>
        public const int Logined_SRES = 5;

        /// <summary>
        /// 客户端创建角色请求
        /// </summary>
        public const int Role_create_CREQ = 6;

        /// <summary>
        /// 创建角色响应
        /// </summary>
        public const int Role_create_SRES = 7;
    }
}
